package com.rs.model;

import java.io.Serializable;

public class AskForType implements Serializable {
    private Integer at_id;

    private String at_name;

    private static final long serialVersionUID = 1L;

    public Integer getAt_id() {
        return at_id;
    }

    public void setAt_id(Integer at_id) {
        this.at_id = at_id;
    }

    public String getAt_name() {
        return at_name;
    }

    public void setAt_name(String at_name) {
        this.at_name = at_name;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        AskForType other = (AskForType) that;
        return (this.getAt_id() == null ? other.getAt_id() == null : this.getAt_id().equals(other.getAt_id()))
            && (this.getAt_name() == null ? other.getAt_name() == null : this.getAt_name().equals(other.getAt_name()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getAt_id() == null) ? 0 : getAt_id().hashCode());
        result = prime * result + ((getAt_name() == null) ? 0 : getAt_name().hashCode());
        return result;
    }
}